Skip to main content
Version: API version 2025-06-09

Systeminfo

Retrieve Root

Welcome to the Omise Docs! These pages should contain everything you need to know to get paid using the Omise API. This is developer-oriented documentation.If you are not a developer, you can check our comprehensive support articles for non-technical explanations of various concepts or go straight to the plugin overview.

Retrieve Root
curl -X GET\
-H "Accept: application/json"\
"https://api.omise.co/"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SystemInfoApi;

import java.io.File;
import java.util.*;

public class SystemInfoApiExample {

public static void main(String[] args) {

SystemInfoApi apiInstance = new SystemInfoApi();
try {
system_info result = apiInstance.rootGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SystemInfoApi#rootGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.SystemInfoApi;

public class SystemInfoApiExample {

public static void main(String[] args) {
SystemInfoApi apiInstance = new SystemInfoApi();
try {
system_info result = apiInstance.rootGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling SystemInfoApi#rootGet");
e.printStackTrace();
}
}
}
SystemInfoApi *apiInstance = [[SystemInfoApi alloc] init];

[apiInstance rootGetWithCompletionHandler:
^(system_info output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var OmiseApi = require('omise_api');

var api = new OmiseApi.SystemInfoApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.rootGet(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
public class rootGetExample
{
public void main()
{

var apiInstance = new SystemInfoApi();

try
{
system_info result = apiInstance.rootGet();
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling SystemInfoApi.rootGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSystemInfoApi();

try {
$result = $api_instance->rootGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemInfoApi->rootGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SystemInfoApi;

my $api_instance = WWW::SwaggerClient::SystemInfoApi->new();

eval {
my $result = $api_instance->rootGet();
print Dumper($result);
};
if ($@) {
warn "Exception when calling SystemInfoApi->rootGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_client.SystemInfoApi()

try:
api_response = api_instance.root_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling SystemInfoApi->rootGet: %s\n" % e)

Responses

Status: 200

 {
"object": {
"pattern": "system_info",
"type": "string",
"default": "system_info"
},
"location": {
"type": "string"
},
"versions": {
"type": "array",
"items": {
"type": "string"
}
}
}